
<div
	id="content">
	<div class="cl">&nbsp;</div>
	<!-- Column -->
	<div class="column">
	<?php
	include 'includes/sidenavNews2.php';
	?>
	</div>
	<div class="column middle-col">
		<div class="post" style="width: 615px;">
			<h2>
				<span> <?php 
				if(isset($title))
				echo $title;
				?> </span>
			</h2>
			<hr style="color: #CCC;" />
			<?php
			//echo $content;
			?>
			<br>
			<table width="100%" height="45" border="0" cellpadding="10"
				cellspacing="1">
				<tr>
					<th height="39" align="center" valign="middle" bgcolor="#66a5cb"
						style="color: #FFF">Date/Time Uploaded</th>
					<th align="center" valign="middle" bgcolor="#66a5cb"
						style="color: #FFF">File Name</th>
					<th align="center" valign="middle" bgcolor="#66a5cb"
						style="color: #FFF">Remarks</th>
					<th align="center" valign="middle" bgcolor="#66a5cb"
						style="color: #FFF">Action</th>
				</tr>

				<?php

				if(isset($uploadedFiles))
				foreach ($uploadedFiles->result() as $file)
				{

					echo
								"<tr class='add' >
									<td>".$file->createdon."
									<td>".$file->orig_name."</td>
									<td>".$file->remarks."</td>
									<td>
										<a href='".ADMINBASEURL."/upload/download/".$file->file_name."'>Download</a> 
									</td>
								</tr>";
					echo
								"<tr class='even' >
									<td>".$file->createdon."
									<td>".$file->orig_name."</td>
									<td>".$file->remarks."</td>
									<td>
										<a href='".ADMINBASEURL."/upload/download/".$file->file_name."'>Download</a> 
									</td>
								</tr>";
				}
				?>
			</table>

		</div>
	</div>
	<!-- END Column -->
	<!-- Column -->
	<div class="column"></div>
	<!-- END Column -->
	<div class="cl">&nbsp;</div>
</div>
<!-- END Content -->

